// 首页-头部分类-PC
import request from '@/utils/request'

// 获取 首页头部-分类
export const findHomeCate = () => request('/home/category/head')

// 获取 首页头部-轮播图
export const findHomeBanner = () => request('/home/banner')

// 获取 首页楼层-新鲜好物
export const findHomeNew = (limit = 4) => request('/home/new', 'get', { limit })

// 获取 首页-人气推荐
export const findHomeHot = (limit = 4) => request('/home/hot', 'get', { limit })

// 获取 首页-热门品牌
export const findHomeBrand = (limit = 4) => request('/home/brand', 'get', { limit })

// 获取 首页-产品区块
export const findHomeGoods = (limit = 4) => request('/home/goods', 'get', { limit })

// 获取 首页-最新专题
export const findHomeSpecial = (limit = 4) => request('/home/special', 'get', { limit })
